#pragma once

#include "IPrimitive.h"
#include <iostream>

namespace Torrent
{
    namespace Bencode
    {    
        class Factory
        {
        public:
            static IPrimitive* create(std::istream& stream);
        private:
            Factory(void);
            ~Factory(void);

        };
    } //Bencode
}//Torrent